package com.scvtc.service.dictionary;

import com.scvtc.domain.ForeignKeyCache;
import com.scvtc.domain.ResResult;

import java.util.List;
import java.util.Map;

/**
 * @Description: 字典服务层
 * @Author: yiFei
 * @date: 2022/5/13 11:53
 */
public interface DictionaryService {
    /**
     * 表单中下拉和选择选项
     *
     * @return
     */
    ResResult<Map<String, List<String>>> form();
    /**
     * 学生基本信息
     *
     * @return
     * @param studentName
     */
    ResResult<List<ForeignKeyCache>> studentBase(String studentName);

    /**
     * 教师基本信息
     *
     * @return
     * @param teacherName
     */
    ResResult<List<ForeignKeyCache>> teacherBase(String teacherName);
}
